<form id="pagerForm" method="post" action="/index.php?act=produce&st=main">
	<input type="hidden" name="pageNum" value="{$pageNum}" />
	<input type="hidden" name="numPerPage" value="{$numPerPage}" />
</form>

<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="/index.php?act=price&st=price_add&price_id={$price_id}" target="dialog" rel="price_add" title="添加价格字段" mask="true" width="830" height="400"><span>添加一级字段</span></a></li>
		</ul>
	</div>

	<!--table 表格-->
	{if $price_list}
	<center><table border="1" width="800px" style="margin-top:20px;" layoutH="28">		
		<tbody>
			{foreach item=items from=$price_list key=key}
				<tr width="100%" align="left">
					<td rowspan="{$items.count}">
						<label>
							<input type="checkbox" value="" disabled/>{$items.price_name}
						</label>
					</td>
					<td style="border:0px;"></td><td style="border:0px;"></td>
					<td rowspan="{$items.count}">
						<label>
							<a title="确实要删除这些记录吗?" target="ajaxTodo" href="/index.php?act=price&st=price_delete&id={$items.id}" class="btnDel">删除</a>
							<a title="编辑价格字段" target="dialog" rel="edit_price" mask="true" width="830" height="400" href="/index.php?act=price&st=price_edit&id={$items.id}&price_id={$price_id}" class="btnEdit">编辑</a>
						</label>
					</td>
				</tr>
				
				{foreach item=children from=$items.childs key=k}
					<tr width="100%" align="left">
						<td rowspan="{$children.count}">
							<label>
								<input type="checkbox" value="" disabled/>{$children.price_name}
							</label>
						</td>
						{if !$children.childs}
						<td>
							<label>
								<input type="checkbox" value="" disabled/>—— ——
							</label>
						</td>
						{/if}
					</tr>
					{foreach item=child from=$children.childs}
						<tr width="100%" align="left">
							<td>
								<label>
									<input type="checkbox" value="" disabled/>{$child.price_name}
								</label>
							</td>
						</tr>
					{/foreach}
				{/foreach}
			{/foreach}
		</tbody>
	</table></center>
	{/if}
	<!--end table 表格-->
</div>